what causes magnesium deficiency